package com.ruoyi.assets.service;

import java.util.List;
import com.ruoyi.assets.domain.AssetCategories;

/**
 * 资产类别Service接口
 * 
 * @author sfk
 * @date 2025-03-03
 */
public interface IAssetCategoriesService 
{
    /**
     * 查询资产类别
     * 
     * @param categoryId 资产类别主键
     * @return 资产类别
     */
    public AssetCategories selectAssetCategoriesByCategoryId(Long categoryId);

    /**
     * 查询资产类别列表
     * 
     * @param assetCategories 资产类别
     * @return 资产类别集合
     */
    public List<AssetCategories> selectAssetCategoriesList(AssetCategories assetCategories);

    /**
     * 新增资产类别
     * 
     * @param assetCategories 资产类别
     * @return 结果
     */
    public int insertAssetCategories(AssetCategories assetCategories);

    /**
     * 修改资产类别
     * 
     * @param assetCategories 资产类别
     * @return 结果
     */
    public int updateAssetCategories(AssetCategories assetCategories);

    /**
     * 批量删除资产类别
     * 
     * @param categoryIds 需要删除的资产类别主键集合
     * @return 结果
     */
    public int deleteAssetCategoriesByCategoryIds(Long[] categoryIds);

    /**
     * 删除资产类别信息
     * 
     * @param categoryId 资产类别主键
     * @return 结果
     */
    public int deleteAssetCategoriesByCategoryId(Long categoryId);

    int startStatusAssets(Long[] categoryIds);

    int endStatusAssets(Long[] categoryIds);
}
